class TimelineBandInfo < ActiveRecord::Base

 EVENT_SOURCE=['Timeline.DefaultEventSource']
 ETHERS=['Timeline.LinearEther','Timeline.HotZoneEthe']
 ETHER_PAINTERS = ['Timeline.GregorianEtherPainter' , 'Timeline.HotZoneGregorianEtherPainter']
 EVENT_PAINTERS= ['Timeline.DurationEtherPainter' ]
 TYPES = ['date','depth','geochrono']

 ALL_UNITS = ['DateTime.MILLISECOND', 'DateTime.SECOND', 'DateTime.MINUTE', 'DateTime.HOUR',
	                       'DateTime.DAY', 'DateTime.WEEK', 'DateTime.MONTH', 'DateTime.YEAR', 'DateTime.DECADE',
	                       'DateTime.CENTURY', 'DateTime.MILLENNIUM',
	                       'DepthUnit.METER', 'DepthUnit.DECAMETER', 'DepthUnit.HECTOMETER', 'DepthUnit.KILOMETER',
	                       'GeochronoUnit.MA', 'GeochronoUnit.AGE', 'GeochronoUnit.EPOCH', 'GeochronoUnit.PERIOD',
	                       'GeochronoUnit.ERA', 'GeochronoUnit.EON'
                      ]
UNITS = ['DateTime.MILLISECOND', 'DateTime.SECOND', 'DateTime.MINUTE', 'DateTime.HOUR',
	                       'DateTime.DAY', 'DateTime.WEEK', 'DateTime.MONTH', 'DateTime.YEAR', 'DateTime.DECADE',
	                       'DateTime.CENTURY', 'DateTime.MILLENNIUM'
                      ]

  TYPE_UNITS = [ [ "date", "" ],[ "depth",    "Timeline.DepthUnit"   ],
    [ "geochrono", "Timeline.GeochronoUnit" ]
  ]


    TYPE_PARSERS = [
    #  Displayed        stored in db
    [ "date",          "Timeline.DateTime.parseGregorianDateTime" ],
    [ "depth",    "Timeline.DepthUnit.wrapDepth"   ],
    [ "geochrono", "Timeline.GeochronoUnit.wrapMA" ]
  ]

end
